A general scheme for some deterministically parsable grammars and their strong equivalents
نویسندگان
چکیده
In the past years there have been many attempts to fill in the gap between the classes of LL(k) and LR(k) grammars with new classes of deterministically parsable grammars. Almost always the introduction of a new class was accompanied by a parsing method and/or a grammatical transformation fitting the following scheme. If parsers were at the centre of the investigation the new method used to be designed to possess certain advantages with respect to already existing ones. As far as transformations were concerned the intention was to produce methods of transforming grammars into "more easily" parsable ones. The problem of finding classes of context-free grammars which can be transformed to LL(k) grammars has received much attention. Parsing strategies and associated classes of grammars generating LL(k) languages have been extensively studied (among others cf. e.g. [6,14,18]). An equally interesting class of grammars is the class of strict deterministic grammars [8,9], a subclass of the LR(O) grammars with elegant theoretical properties. Generalizations of this concept have been introduced by Friede[3] and Pittl[15]. The purpose of this paper is to show how the above mentioned classes of grammars can be dealt with within a general framework originated by Nijholt[12]. Roughly speaking, we study the phenomena corresponding e.g. to the relationship between strong LL(k) and LL(k) grammars. A general scheme u~ing adjectives "strong" and "weak" is shown to be applicable for the description of the grammar families under consideration.
منابع مشابه
A Generalization of the Offline Parsable Grammars
The offline parsable grammars apparently have enough formal power to describe human language, yet the parsing problem for these grammars is solvable. Unfortunately they exclude grammars that use x-bar theory and these grammars have strong linguistic justification. We define a more general class of unification grammars, which admits x-bar grammars while preserving the desirable properties of off...
متن کاملCh(k) Grammars: A Characterization of LL(k) Languages
From the point of view of parsing the LL(K] grammars constitute a very attractive class of context-free grammars. For each LL{K] grammar a top-down parsing algorithm can be devised which is essentially a one-state deterministic push-down automaton. From a more theoretiG point of view LL[K) grammars are attractive as well. It is well-known, for example, that it is decidable whether two LLfk) gra...
متن کاملOff-line Parsability and the Well-foundedness of Subsumption
Typed feature structures are used extensively for the specification of linguistic information in many formalisms. The subsumption relation orders TFSs by their information content. We prove that subsumption of acyclic TFSs is well-founded, whereas in the presence of cycles general TFS subsumption is not well-founded. We show an application of this result for parsing, where the well-foundedness ...
متن کاملPseudo-Projectivity: A Polynomially Parsable Non-Projective Dependency Grammar
Dependency grammar has a long tradition in syntactic theory, dating back to at least Tesnière’s work from the thirties.1 Recently, it has gained renewed attention as empirical methods in parsing are discovering the importance of relations between words (see, e.g., (Collins, 1997)), which is what dependency grammars model explicitly do, but context-free phrasestructure grammars do not. One probl...
متن کاملO - line Parsability and the Well - foundedness of Subsumption
Typed feature structures are used extensively for the speciication of linguistic information in many formalisms. The subsumption relation orders TFSs by their information content. We prove that subsumption of acyclic TFSs is well-founded, whereas in the presence of cycles general TFS subsumption is not well-founded. We show an application of this result for parsing, where the well-foundedness o...
متن کامل